import { Module } from '@nestjs/common';
import { HistorySessionService } from './history-session.service';
import { HistorySessionController } from './history-session.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { HistorySession } from './entities/history-session.entities';
import { ChatUser } from 'src/chat_user/entities/chat_user.entity';
import { GroupChat } from 'src/group-chat/entities/group-chat.entity';
import { UserChatRecord } from 'src/chat-record/entities/user-chat-record.entity';
import { ChatUserFriend } from 'src/chat_user_friends/entities/chat_user_friend.entity';
import { ChatUserGroup } from 'src/chat_user_group/entities/chat_user_group.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([HistorySession, ChatUserFriend, ChatUser, GroupChat, UserChatRecord, ChatUserGroup]),
  ],
  controllers: [HistorySessionController],
  providers: [HistorySessionService],
  exports: [HistorySessionService]
})
export class HistorySessionModule { }
